package com.lagou.edu.dao;

import com.lagou.edu.pojo.Token;
import org.springframework.data.jpa.repository.JpaRepository;

/**
 * @author stevejson
 */
public interface TokenDao extends JpaRepository<Token,Long> {
    Token findFirstByEmail(String email);
    Token findFirstByToken(String token);
}
